﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PASNew.UserControls.V2
{
	public partial class SiteNavigation : System.Web.UI.UserControl
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			if (Session["UserIdentity"] != null)
			{
				UserDetailsDto user = (UserDetailsDto)Session["UserIdentity"];
				ctlLoggedInMenu.Visible = true;
				ctlLoggedOutMenu.Visible = false;
			}
			else
			{
				ctlLoggedInMenu.Visible = false;
				ctlLoggedOutMenu.Visible = true;
			}
		}
	}
}